
#include "Current.h"

Current::Current(int volt, std::string type)
    : volt_(volt), type_(std::move(type))
{

}

void Current::set_volt(int volt)
{
  this->volt_ = volt;
}

void Current::set_type(std::string type)
{
  this->type_ = std::move(type);
}

int Current::get_volt() const
{
  return this->volt_;
}

std::string Current::get_type() const
{
  return this->type_;
}
